package com.web.exiaodao.remote.vo;

import com.web.exiaodao.business.entity.ConfigurationTable;
import com.web.exiaodao.remote.service.ApiConfigurationTableService;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

/**
 * @author eason.zt
 * @ClassName: ConfigurationTableVo
 * @Description:配置表 Vo
 * @date 2015年3月23日 下午1:00:00
 *
 * @see ConfigurationTable
 */
@ApiModel(value = "配置表Vo对象")
public class ConfigurationTableVo {

    @ApiModelProperty(value = "主键，自动增长")
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "每次抽奖需要的亲和币,每次抽奖需要的亲和币")
    private Integer signin_lottery_coin_per;

    @ApiModelProperty(value = "中奖率,中奖率的分母；1：100%中奖，5：20%中奖；（如：winningRate=5,就生成[1,5]的随机数，如果是1就中奖；[2-12]的随机数，是几就中几等奖）")
    private Integer signin_winningRate;

    @ApiModelProperty(value = "多少亲和币兑换1RMB,多少亲和币兑换1RMB")
    private Integer signin_inance_expr_coin;

    @ApiModelProperty(value = "公司简介,公司简介")
    private String cmp_intro;
    @ApiModelProperty(value = "公司电话,公司电话")
    private String cmp_cellPhone;
    @ApiModelProperty(value = "公司地址,公司地址")
    private String cmp_address;
    @ApiModelProperty(value = "客服电话")
    private String serviceTel;
    /**
     * 签到规则参加{@link ApiConfigurationTableService}的 signMoneyByCheckCount 方法
     */
    @ApiModelProperty(value = "每天签到赚钱的亲和币(首次签到);首签获亲币/天")
    private Double income_expenses_signin_coin;
    @ApiModelProperty(value = "连续签到等差递增亲币数量")
    private Integer income_expenses_signin_asc_coin;
    @ApiModelProperty(value = "每次做任务赚钱的亲和币")
    private Double income_expenses_task_coin;
    @ApiModelProperty(value = "评论赚取的亲和币")
    private Double income_expenses_commet_coin;
    @ApiModelProperty(value = "分享抓取的亲和币")
    private Double income_expenses_share_coin;
    @ApiModelProperty(value = "留言赚取的亲和币")
    private Double income_expenses_LeaveMessage_coin;
    @ApiModelProperty(value = "义工经历赚取的亲和币")
    private Double income_expenses_nurseExperience_coin;
    @ApiModelProperty(value = "每次抽奖任务额外奖励的亲币")
    private Double income_expenses_lottery_task_coin;
    @ApiModelProperty(value = "观看视频每秒钟获取的亲币")
    private Double income_expenses_watch_viedo_coin;
    /**
     * 分享使用
     */
    @ApiModelProperty(value = "分享的html链接地址")
    private String shareUrl = "/app/share/share.html?recommendPhone=";//recommendPhone后面要跟上自己的手机号
    @ApiModelProperty(value = "分享：title")
    private String shareTitle = "我在使用e孝道手机客户端";
    @ApiModelProperty(value = "分享：subTitle")
    private String shareSubTitle = "我在使用e孝道手机客户端，下载e孝道，老年无忧!";
    @ApiModelProperty(value = "分享：icon url")
    private String shareImgURL = "/logo/Logo1024.png";

    @ApiModelProperty(value = "注册送亲币数")
    private Integer income_register_coin;
    @ApiModelProperty(value = "推荐他人送亲币数")
    private Integer income_recommend_coin;

    @ApiModelProperty(value = "一级分销比例,一级分销比例，比如2%；取值范围0-1 或者说0.001 到 1；")
    private Double distribution1Rate;
    @ApiModelProperty(value = "二级分销比例,二级分销比例，比如0.5%；取值范围0-1 或者说0.001 到 1；")
    private Double distribution2Rate;

    @ApiModelProperty(value = "成为vip价格；成为vip价格")
    private Double vipPrice;

    public ConfigurationTableVo(Long id, String createTime, Integer signin_lottery_coin_per, Integer signin_winningRate, Integer signin_inance_expr_coin, String cmp_intro, String cmp_cellPhone, String cmp_address, Double income_expenses_signin_coin, Double income_expenses_task_coin, Double income_expenses_commet_coin, Double income_expenses_share_coin, Double income_expenses_LeaveMessage_coin, Double income_expenses_nurseExperience_coin) {
        this.id = id;
        this.createTime = createTime;
        this.signin_lottery_coin_per = signin_lottery_coin_per;
        this.signin_winningRate = signin_winningRate;
        this.signin_inance_expr_coin = signin_inance_expr_coin;
        this.cmp_intro = cmp_intro;
        this.cmp_cellPhone = cmp_cellPhone;
        this.cmp_address = cmp_address;
        this.income_expenses_signin_coin = income_expenses_signin_coin;
        this.income_expenses_task_coin = income_expenses_task_coin;
        this.income_expenses_commet_coin = income_expenses_commet_coin;
        this.income_expenses_share_coin = income_expenses_share_coin;
        this.income_expenses_LeaveMessage_coin = income_expenses_LeaveMessage_coin;
        this.income_expenses_nurseExperience_coin = income_expenses_nurseExperience_coin;
    }

    public ConfigurationTableVo(ConfigurationTable entity) {
        this.id = entity.getId();
        this.createTime = entity.getCreateTime();
        this.signin_lottery_coin_per = entity.getSignin_lottery_coin_per();
        this.signin_winningRate = entity.getSignin_winningRate();
        this.signin_inance_expr_coin = entity.getSignin_inance_expr_coin();
        this.cmp_intro = entity.getCmp_intro();
        this.cmp_cellPhone = entity.getCmp_cellPhone();
        this.cmp_address = entity.getCmp_address();
        this.income_expenses_signin_coin = entity.getIncome_expenses_signin_coin();
        this.income_expenses_task_coin = entity.getIncome_expenses_task_coin();
        this.income_expenses_commet_coin = entity.getIncome_expenses_commet_coin();
        this.income_expenses_share_coin = entity.getIncome_expenses_share_coin();
        this.income_expenses_LeaveMessage_coin = entity.getIncome_expenses_LeaveMessage_coin();
        this.income_expenses_nurseExperience_coin = entity.getIncome_expenses_nurseExperience_coin();
    }

    public ConfigurationTableVo() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getSignin_lottery_coin_per() {
        return signin_lottery_coin_per;
    }

    public void setSignin_lottery_coin_per(Integer signin_lottery_coin_per) {
        this.signin_lottery_coin_per = signin_lottery_coin_per;
    }

    public Integer getSignin_winningRate() {
        return signin_winningRate;
    }

    public void setSignin_winningRate(Integer signin_winningRate) {
        this.signin_winningRate = signin_winningRate;
    }

    public Integer getSignin_inance_expr_coin() {
        return signin_inance_expr_coin;
    }

    public void setSignin_inance_expr_coin(Integer signin_inance_expr_coin) {
        this.signin_inance_expr_coin = signin_inance_expr_coin;
    }

    public String getCmp_intro() {
        return cmp_intro;
    }

    public void setCmp_intro(String cmp_intro) {
        this.cmp_intro = cmp_intro;
    }

    public String getCmp_cellPhone() {
        return cmp_cellPhone;
    }

    public void setCmp_cellPhone(String cmp_cellPhone) {
        this.cmp_cellPhone = cmp_cellPhone;
    }

    public String getCmp_address() {
        return cmp_address;
    }

    public void setCmp_address(String cmp_address) {
        this.cmp_address = cmp_address;
    }

    public String getServiceTel() {
        return serviceTel;
    }

    public void setServiceTel(String serviceTel) {
        this.serviceTel = serviceTel;
    }

    public Double getIncome_expenses_signin_coin() {
        return income_expenses_signin_coin;
    }

    public void setIncome_expenses_signin_coin(Double income_expenses_signin_coin) {
        this.income_expenses_signin_coin = income_expenses_signin_coin;
    }

    public Double getIncome_expenses_task_coin() {
        return income_expenses_task_coin;
    }

    public void setIncome_expenses_task_coin(Double income_expenses_task_coin) {
        this.income_expenses_task_coin = income_expenses_task_coin;
    }

    public Double getIncome_expenses_commet_coin() {
        return income_expenses_commet_coin;
    }

    public void setIncome_expenses_commet_coin(Double income_expenses_commet_coin) {
        this.income_expenses_commet_coin = income_expenses_commet_coin;
    }

    public Double getIncome_expenses_share_coin() {
        return income_expenses_share_coin;
    }

    public void setIncome_expenses_share_coin(Double income_expenses_share_coin) {
        this.income_expenses_share_coin = income_expenses_share_coin;
    }

    public Double getIncome_expenses_LeaveMessage_coin() {
        return income_expenses_LeaveMessage_coin;
    }

    public void setIncome_expenses_LeaveMessage_coin(Double income_expenses_LeaveMessage_coin) {
        this.income_expenses_LeaveMessage_coin = income_expenses_LeaveMessage_coin;
    }

    public Double getIncome_expenses_nurseExperience_coin() {
        return income_expenses_nurseExperience_coin;
    }

    public void setIncome_expenses_nurseExperience_coin(Double income_expenses_nurseExperience_coin) {
        this.income_expenses_nurseExperience_coin = income_expenses_nurseExperience_coin;
    }

    public Double getIncome_expenses_lottery_task_coin() {
        return income_expenses_lottery_task_coin;
    }

    public void setIncome_expenses_lottery_task_coin(Double income_expenses_lottery_task_coin) {
        this.income_expenses_lottery_task_coin = income_expenses_lottery_task_coin;
    }

    public Double getIncome_expenses_watch_viedo_coin() {
        return income_expenses_watch_viedo_coin;
    }

    public void setIncome_expenses_watch_viedo_coin(Double income_expenses_watch_viedo_coin) {
        this.income_expenses_watch_viedo_coin = income_expenses_watch_viedo_coin;
    }

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }

    public String getShareTitle() {
        return shareTitle;
    }

    public void setShareTitle(String shareTitle) {
        this.shareTitle = shareTitle;
    }

    public String getShareSubTitle() {
        return shareSubTitle;
    }

    public void setShareSubTitle(String shareSubTitle) {
        this.shareSubTitle = shareSubTitle;
    }

    public String getShareImgURL() {
        return shareImgURL;
    }

    public void setShareImgURL(String shareImgURL) {
        this.shareImgURL = shareImgURL;
    }

    public Integer getIncome_expenses_signin_asc_coin() {
        return income_expenses_signin_asc_coin;
    }

    public void setIncome_expenses_signin_asc_coin(Integer income_expenses_signin_asc_coin) {
        this.income_expenses_signin_asc_coin = income_expenses_signin_asc_coin;
    }

    public Integer getIncome_register_coin() {
        return income_register_coin;
    }

    public void setIncome_register_coin(Integer income_register_coin) {
        this.income_register_coin = income_register_coin;
    }

    public Integer getIncome_recommend_coin() {
        return income_recommend_coin;
    }

    public void setIncome_recommend_coin(Integer income_recommend_coin) {
        this.income_recommend_coin = income_recommend_coin;
    }

    public Double getDistribution1Rate() {
        return distribution1Rate;
    }

    public void setDistribution1Rate(Double distribution1Rate) {
        this.distribution1Rate = distribution1Rate;
    }

    public Double getDistribution2Rate() {
        return distribution2Rate;
    }

    public void setDistribution2Rate(Double distribution2Rate) {
        this.distribution2Rate = distribution2Rate;
    }

    public Double getVipPrice() {
        return vipPrice;
    }

    public void setVipPrice(Double vipPrice) {
        this.vipPrice = vipPrice;
    }
}

